<template>
  <div>
    <h2 ref="schoolName">学校名称：{{name}}</h2>
    <h2 ref="schoolAddress">学校地址：{{address}}</h2>
  </div>
</template>

<script>
export default {
  name: "MySchool",
  data(){
    return{
      name:'幸福中学',
      address:"重庆",
    }
  },
}
</script>

<style scoped>
  div{
    background-color: #888;
  }
</style>
